Abstract: The layered architecture which consists of UI, Business Logic and Database as the three sections of it, has been proven to have quite a lot of issues with respect to scaling, maintenance and optimization. Here, I have explained the basic idea behind Domain Driven Design (DDD), Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) and how they can be leveraged for overcoming the shortcomings of the layered architecture.
Keywords: Domain Driven Design (DDD), Command Query Responsibility Segregation (CQRS), Event Sourcing (ES), Business Logic and Database.